package com.lebang.medicalInquiry.mapper;

import com.lebang.medicalInquiry.model.po.OffLineNotice;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface OffLineNoticeMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(OffLineNotice record);

    int insertSelective(OffLineNotice record);

    OffLineNotice selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(OffLineNotice record);

    int updateByPrimaryKey(OffLineNotice record);

    List<OffLineNotice> getListByCondition(@Param("uuid") String uuid, @Param("chatUuid") String chatUuid, @Param("page") int page, @Param("limit") Integer limit);

    Integer countByCondition(@Param("uuid") String uuid, @Param("chatUuid") String chatUuid);

    void removeByUuidAndChatUuid(@Param("uuid") String uuid, @Param("chatUuid") String chatUuid);

}